package com.yqg.education.controller.dto;

import com.yqg.education.entity.Menu;
import lombok.Data;

import java.util.List;

/**
 * 接受前端登录请求的参数
 */
@Data
public class UserDTO {
    private Integer id;
    private String username;
    private String password;
    private String token;
    private Integer role;
    private List<Menu> menus;
    private Integer sex;

    private Integer age;

    private String photo;

    private String telephone;
    private String unit;
    private String department;
    private String section;
    private String email;
    private String className;
}
